<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<div id="app">
    <cpn :number1="num1"></cpn>
    <cpn :number2="num2"></cpn>
</div>

<template id="cpn">
    <div>
        <h2>data:{{dnumber1}}</h2>
        <input type="text" v-model="dnumber1">
        <h2>data:{{dnumber2}}</h2>
        <input type="text" v-model="dnumber2">
    </div>
</template>

<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script>
    const app = new Vue({
        el:'#app',
        data:{
            num1:1,
            num2:0
        },
        components:{
            cpn:{
                template:'#cpn',
                props:{
                    number1:Number,
                    number2:Number
                },
                data(){
                    return {
                        dnumber1:this.number1,
                        dnumber2:this.number2
                    }
                }
            }
        }
    })

</script>
</body>
</html>